package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 产康项目
 * </p>
 *
 * @author 冯政尚
 * @since 2018-08-26
 */
@TableName("production")
public class Production extends Model<Production> {

    private static final long serialVersionUID = 1L;

    /**
     * 可预约产康项目展示ID
     */
	private Long id;
    /**
     * 产康项目
     */
	private String project;
    /**
     * 最后一次修改时间
     */
	@TableField("update_time")
	private Long updateTime;
    /**
     * 价格
     */
	private Long pice;

    /**
     * 预约  1预约 2未预约
     */
	private Integer appointment;
	@TableField("areaid")
	private Long areaid;


	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Long getPice() {
		return pice;
	}

	public void setPice(Long pice) {
		this.pice = pice;
	}



	public Integer getAppointment() {
		return appointment;
	}

	public void setAppointment(Integer appointment) {
		this.appointment = appointment;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Production{" +
			"id=" + id +
			", project=" + project +
			", updateTime=" + updateTime +
			", pice=" + pice +
			", isTate="    +
			", appointment=" + appointment +
			"}";
	}
}
